package com.example.springboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.domain.po
 * @Project：springboot
 * @name：Record
 * @Date：2025/2/23 20:14
 * @Filename：Record
 * @for:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("record")
public class Record {
       @Id
       private Integer id;

       /**
        * 用户ID
        */
       @TableField("userId")
       private Integer userId;

       /**
        * 活动ID
        */
       @TableField("activityId")
       private Integer activityId;

       /**
        * 用户role
        */
       @TableField("role")
       private Integer role;

       /**
        * 预约时间
        */
       @TableField("time")
       private String time;

       @TableField("username")
       private String username;
       @TableField(exist = false)
       private String activityName;

}
